package com.example.li.myapplication.dagger;

import dagger.Component;

/**
 * Created by ly on 2016/10/8 09:41.
 */

// 这个注解表示Component要到ActivityModule中寻找依赖
@Component(modules = ActivityModule.class)
public interface ActivityComponent {

    // 注入具体的类中(方法名可随意取, 重要的是参数)
    void inject(DaggerActivity activity);
}